package ligne2vie.topos.client.maps.events;

import ligne2vie.topos.client.maps.MyMapWidget;

import com.google.gwt.maps.client.event.EventCallback;

/**
 * The class {@link MapClickEvent} allows notifying all {@link MyMapWidget}'s observers the map has been clicked.
 * 
 * @author thuguerre
 * @since 1.0.0
 */
public class MapClickEvent extends EventCallback implements MapEvent {

	@Override
	public void callback() {
		MyMapWidget.getInstance().notifyObservers(this);
	}

}
